package com.macro.mall.mapper;

import com.macro.mall.model.PmPrpty;
import com.macro.mall.model.PmPrptyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PmPrptyMapper {
    long countByExample(PmPrptyExample example);

    int deleteByExample(PmPrptyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmPrpty record);

    int insertSelective(PmPrpty record);

    List<PmPrpty> selectByExample(PmPrptyExample example);

    PmPrpty selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmPrpty record, @Param("example") PmPrptyExample example);

    int updateByExample(@Param("record") PmPrpty record, @Param("example") PmPrptyExample example);

    int updateByPrimaryKeySelective(PmPrpty record);

    int updateByPrimaryKey(PmPrpty record);

    List<PmPrpty> selectByRecord(@Param("record") PmPrpty record,@Param("prptyIds") String[] prptyIds);
}